canvas:attrColor(255,0,0,255);
canvas:drawRect("fill",0,0,canvas:attrSize());
canvas:flush();